function BOTTLES_OF_BEER(number){
    let result='';
    for(let i=number;i>0;i--){
        if(i>1){
            result+=i+' bottles of beer on the wall, '+i+' bottles of beer.\n'+
            'Take one down and pass it around, '+(i-1)+' bottles of beer on the wall.\n'
        }
        else {
            result+='1 bottle of beer on the wall, 1 bottle of beer.\n'+
            'Take one down and pass it around, no more bottles of beer on the wall.\n'
        }
    }
    result+='No more bottles of beer on the wall, no more bottles of beer.\n'+
    'Go to the store and buy some more, '+number+' bottles of beer on the wall.\n'
    return result;
}
module.exports = BOTTLES_OF_BEER;